﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using TyMES.Model.BaseInformation;
using TyMES.Model;

namespace TyMES.ViewModel.BaseInformation.Order_ModelVMs
{
    public partial class Order_ModelBatchVM : BaseBatchVM<Order_Model, Order_Model_BatchEdit>
    {
        public Order_ModelBatchVM()
        {
            ListVM = new Order_ModelListVM();
            LinkedVM = new Order_Model_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class Order_Model_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._Order_Model._orderType")]
        public string OrderType { get; set; }
        [Display(Name = "_Model._Order_Model._orderCode")]
        public string OrderCode { get; set; }
        [Display(Name = "_Model._Order_Model._orderQty")]
        public string OrderQty { get; set; }
        [Display(Name = "_Model._Order_Model._order_Status")]
        public OrderStatusEnum? Order_Status { get; set; }
        [Display(Name = "_Model._Order_Model._materialCode")]
        public string MaterialCode { get; set; }
        [Display(Name = "_Model._Order_Model._materialId")]
        public string MaterialId { get; set; }
        [Display(Name = "_Model._Order_Model._materialName")]
        public string MaterialName { get; set; }
        [Display(Name = "_Model._Order_Model._materialVersion")]
        public string MaterialVersion { get; set; }
        [Display(Name = "_Model._Order_Model._scheduleCode")]
        public string ScheduleCode { get; set; }
        [Display(Name = "_Model._Order_Model._scheduleQty")]
        public string ScheduleQty { get; set; }
        [Display(Name = "_Model._Order_Model._scheduleEditTime")]
        public string ScheduleEditTime { get; set; }
        [Display(Name = "_Model._Order_Model._scheduleId")]
        public string ScheduleId { get; set; }
        [Display(Name = "_Model._Order_Model._scheduleStationId")]
        public string ScheduleStationId { get; set; }
        [Display(Name = "_Model._Order_Model._MOrderStatus")]
        public string MOrderStatus { get; set; }
        [Display(Name = "_Model._Order_Model._workshopCode")]
        public string WorkshopCode { get; set; }
        [Display(Name = "_Model._Order_Model._workshopName")]
        public string WorkshopName { get; set; }
        [Display(Name = "_Model._Order_Model._lineCode")]
        public string LineCode { get; set; }
        [Display(Name = "_Model._Order_Model._lineName")]
        public string LineName { get; set; }
        [Display(Name = "_Model._Order_Model._stationCode")]
        public string StationCode { get; set; }
        [Display(Name = "_Model._Order_Model._stationName")]
        public string StationName { get; set; }
        [Display(Name = "_Model._Order_Model._equipmentCode")]
        public string EquipmentCode { get; set; }
        [Display(Name = "_Model._Order_Model._startTime")]
        public string StartTime { get; set; }
        [Display(Name = "_Model._Order_Model._endTime")]
        public string EndTime { get; set; }
        [Display(Name = "_Model._Order_Model._factoryCode")]
        public string FactoryCode { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}